From 0201efd6355bc91c40d79034cda9c8859be6c25c Mon Sep 17 00:00:00 2001 From: Fabian Zimmermann Date: Wed, 22 Oct 2025 11:50:57 +0200 Subject: [PATCH] ddns-script: removes linefeed which causes 401 err The linefeed at the end causes ovh-api to return 401 even if the password is correct. Fixes #27693 Signed-off-by: Fabian Zimmermann --- net/ddns-scripts/Makefile | 2 +- net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index b1132d893f..a78f55dd05 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ddns-scripts PKG_VERSION:=2.8.2 -PKG_RELEASE:=79 +PKG_RELEASE:=80 PKG_LICENSE:=GPL-2.0 diff --git a/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh b/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh index 518986859c..56ac7cce22 100644 --- a/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh +++ b/net/ddns-scripts/files/usr/lib/ddns/update_ovh_com.sh @@ -12,7 +12,7 @@ http_basic_encoding() { local user="$1" local password="$2" - echo "${user}:${password}" | openssl base64 + printf "${user}:${password}" | openssl base64 -in /dev/stdin } [ -z "$domain" ] && write_log 14 "Service section not configured correctly! Missing domain name as 'Domain'" -- 2.30.2